]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
remoteAccess: Make indicator orange
authorJonas Ådahl <jadahl@gmail.com>
Fri, 27 Jul 2018 16:07:52 +0000 (18:07 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Fri, 27 Jul 2018 16:10:35 +0000 (18:10 +0200)
Make the indicator for active remote access use the warning color, to
indicate the severity of allowing remote access.

This only makes the indicator icon orange; the icon in the system menu
is still white.

data/theme/gnome-shell-sass/_common.scss
js/ui/status/remoteAccess.js

index f1e6ae5253ca35ed02eed193e48a7598fe0d7adb..40366ded0475ed6c73bd9da5a666ec030593b41a 100644 (file)
@@ -825,6 +825,8 @@ StScrollBar {
 
   .screencast-indicator { color: $warning_color; }
 
+  .remote-access-indicator { color: $warning_color; }
+
   &.solid {
     background-color: black;
     /* transition from transparent to solid */
index ffa334001b31484785dc75ccb2aeef546ee28e4f..db94d130d67b234a80044dbf05113f03012f22c8 100644 (file)
@@ -41,6 +41,7 @@ var RemoteAccessApplet = new Lang.Class({
 
         this._indicator = this._addIndicator();
         this._indicator.icon_name = 'screen-shared-symbolic';
+        this._indicator.add_style_class_name('remote-access-indicator');
         this._item =
             new PopupMenu.PopupSubMenuMenuItem(_("Screen is Being Shared"),
                                                true);